local auxiliary = require("Util.Auxiliary")

local Uninstall = {}

function Uninstall.UninstallApp()

  mSleep(500)

  pressHomeKey(0)    --按下 Home 键
  pressHomeKey(1)    --抬起 Home 键
  mSleep(4000)
  auxiliary.LongTap(240,285,1500) -- 长按软件
  auxiliary.Tap(188,233,2000) --- 点击删除按钮
  mSleep(1000)
  auxiliary.Tap(187,668,500) --- 确定删除按钮

  toast("卸载完成")

  mSleep(1000)

  doublePressHomeKey() -- 会到应用列表
  mSleep(2000) -- 略一休息

  toast("不点击吗？")

  auxiliary.Tap(328,543,500) -- 点击应用进入App Store

  toast("进入App Store")

end

return Uninstall
